<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="Fr">
	<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title>Banque Française des Etudiants - {$title}</title>
		
		<link rel="stylesheet" media="screen" type="text/css" title="style" href="{assets}/css/style.css"/>
		<link rel="stylesheet" media="screen" type="text/css" title="style" href="{assets}/css/jquery-ui/jquery-ui-1.8.17.css"/>
		<link rel="stylesheet" media="screen" type="text/css" title="style" href="{assets}/css/ui.jqgrid.css"/>
		
		<script src="{assets}/js/jquery-1.7.1.min.js" type="text/javascript"></script>
		<script src="{assets}/js/jquery-ui-1.8.17.min.js" type="text/javascript"></script>
		<script src="{assets}/js/jqGrid-lang/grid.locale-fr.js" type="text/javascript"></script>
		<script src="{assets}/js/jquery-jqGrid.min.js" type="text/javascript"></script>
		
	</head>
	<body>
		<div id="header">
			<div id="header_content">
				<p id="top_bar">
					{if $logged}
					Bonjour {$first_name} {$last_name} |
					<a href="{url_to controller="account"}">Accéder à mes comptes</a> |
					<a href="{url_to controller="user" action="disconnection"}">Déconnexion</a>
					{else}
					<a href="#" id="connection_button">Connexion</a>
					{include file="tpl/connection_form.tpl"}
					{/if}
				</p>
				<a href="{url_to}"><img src="{assets}/css/img/logo.png" alt="logo"/></a>
			</div>
		</div>
		<div id="page">
{include file=$template}

		</div>
		<div id="bottom">
			<div id="bottom_content">
				<p id="bottom_bar">
					© Banque Française des Etudiants |
					<a href="{url_to controller="home" action="contact"}">Contact</a> |
					<a href="{url_to controller="home" action="credit"}">Credit</a> |
					<a href="{url_to controller="home" action="mentions"}">Mentions légales</a> |
					<a href="{url_to controller="home" action="tarifs"}">Tarifs</a>
				</p>
			</div>
		</div>
	</body>
</html>